#ifndef __MainApplication_h_
#define __MainApplication_h_

#include "BaseApplication.h"
#include "MoveManager.h"

namespace Viewer {
    
class MainApplication : public BaseApplication
{
public:
    MainApplication(void);
    virtual ~MainApplication(void);

protected:
    virtual void createScene(void);
    virtual void createViewports(void);
    virtual void createCamera(void);
    
    virtual bool keyPressed( const OIS::KeyEvent &arg );
    virtual bool keyReleased( const OIS::KeyEvent &arg );
    virtual bool frameRenderingQueued(const Ogre::FrameEvent &evt);
    
    void loadMap();
    
    Ogre::Entity* entNinja;
    MoveManager* moveManager;
    Ogre::AnimationState *mAnimationState;
    Ogre::Entity *mEntity;
};

}

#endif // #ifndef __MainApplication_h_
